<?php
namespace Widget;
use Minutes\Widget;
use Model\Tag;
class Tags extends Widget
{
    public function __construct($data, $properties) {
        parent::__construct($data, $properties);
        $this->widgetView = 'tags';
    }

    public function run() {
        $modelTag = new Tag();
        $this->data['tags'] = $modelTag->getTagCount();
    }
}
